package com.cloud.school.app.service;

import com.cloud.school.app.model.MajorModel;

import java.util.List;

/**
 * @ClassName Major
 * @Description TODO
 * @Author 36297
 * @Date 2018/12/14 0:49
 * @Version 1.0
 */
public interface MajorService {
    boolean save(MajorModel majorModel);

    List<MajorModel> selectByCollegeId(Long collegeId);

    List<MajorModel> selectDetailByCollegeId(Long collegeId);

    List<MajorModel> queryByIds(List<Long> majorIds);

    boolean delete(Long majorId);

    boolean deleteByCollegeId(Long collegeId);
}
